test: Cover code with potential to overflow panic#382
Merged
Conversation
Benchmark for 0a33fe5Click to view benchmark
|
Benchmark for 0a33fe5Click to view benchmark
|
Benchmark for cadded6Click to view benchmark
|
Benchmark for cadded6Click to view benchmark
|
Benchmark for cadded6Click to view benchmark
|
Benchmark for cadded6Click to view benchmark
|
Benchmark for 5f90217Click to view benchmark
|
Benchmark for 5f90217Click to view benchmark
|
Benchmark for e1002f6Click to view benchmark
|
Benchmark for e1002f6Click to view benchmark
|
Benchmark for fa98dfcClick to view benchmark
|
Benchmark for fa98dfcClick to view benchmark
|
…pected field of UtilsError::InsufficientData
…ate test for invalid indices
Benchmark for b42d79cClick to view benchmark
|
Contributor
|
@romanzac Hey, I think we can remove these And I added some fixes for other failed test cases. |
Benchmark for b42d79cClick to view benchmark
|
…for FullMerkleTree
Benchmark for 60aab1bClick to view benchmark
|
Benchmark for 60aab1bClick to view benchmark
|
Benchmark for 70186a9Click to view benchmark
|
Benchmark for 70186a9Click to view benchmark
|
|
Coverage report uploaded. Download HTML Report |
Benchmark for f585eefClick to view benchmark
|
Benchmark for f585eefClick to view benchmark
|
|
Coverage report uploaded. Download HTML Report |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
A batch of tests to cover places in code which may be prone to overflow or panic.
Tests modified/added
Issues reported
Coverage changed
Before 88.98%
Download HTML Report
After 88.12%
Download HTML Report
Checklist
cargo fmt --all -- --checkproduces no changesmake testpasses locallyunwrap()/expect()/panic!()in library coderun-coveragelabel to enable it